package com.yx.shop.dao;

import com.yx.shop.entitly.Item;
import com.yx.shop.entitly.Orders;

import java.util.List;

/**
 * @Classname OrderDao
 * @Description TODO:
 * @Date 2021/05/09 14:01
 * @Created by yx
 */
public interface OrderDao {
    Integer createOrder(Orders orders);

    List<Orders> getOrderListByUid(int uid);

    Orders selectOrderByOid(String oid);

    List<Item> selectItemListByOid(String oid);

    Integer updateStateByOid(String oid, Integer state);
}
